package com.letoken.platform.repo.admin.req.config;

import com.letoken.platform.pub.req.QueryReqBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author wyl
 * @date 2022/12/10
 */
@Data
@ApiModel(value = "新增角色列表请求对象", description = "新增角色列表请求对象")
public class AddAdminRoleReq {

    @NotBlank(message = "角色名称不能为空")
    @ApiModelProperty(name = "name", value = "角色名称")
    private String name;

    @NotBlank(message = "角色描述不能为空")
    @ApiModelProperty(name = "description", value = "描述", example = "全体目光像我看齐")
    private String description;



}
